package com.easychat.mapper;

import com.easychat.entity.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserInfoMapper {

    List<UserInfo> selectAll();

    UserInfo selectByEmail(@Param("email") String email);

    int insert(UserInfo userInfo);
}
